package com.situ.science.service.impl;

import com.situ.science.mapper.FacultyMapper;
import com.situ.science.pojo.Faculty;
import com.situ.science.service.IFacultyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FacultyServiceImpl implements IFacultyService {
    @Autowired
    private FacultyMapper facultyMapper;

    @Override
    public List<Faculty> getFacultyList() {
        return facultyMapper.list();
    }
}
